package com.yuexunit.finance.system.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yuexunit.finance.project.entity.lexicon.BeneficiaryMethodEnum;
import com.yuexunit.finance.system.entity.lexicon.FinancingChannelEnum;

/**
 * @Description: 资金拆入信息实体类
 * @author wenwenlong
 */
@Entity
@Table(name = "LOANS_MONEY_INFO")
public class LoansMoneyInfoEntity {

	/** 资金拆入信息ID */
	@Id
	@GeneratedValue
	@Column(name = "LONAS_MONEY_ID")
	private Long loansMoneyId;
	
	/** 出借单位ID */
	@Column(name = "LEND_UNIT_ID")
	private Long lendUnitId;

	/** 资金账户ID  */
	@Column(name = "ACCOUNT_INFO_ID")
	private Long accountInfoId;
	
	/** 借入金额  */
	@Column(name = "AMOUNT")
	private BigDecimal amount;
	
	/** 借入起算时间 */
	@Column(name = "BORROWED_DATE_COUNT")
	private Date borrowedDateCount;
	
	/** 借入时间 */
	@Column(name = "BORROWED_DATE")
	private Date borrowedDate;
	
	/** 有效日期*/
	@Column(name = "EFFECTIVE_DATE")
	private Date effectiveDate;
	
	/** 借入期限 */
	@Column(name = "TIME_LIMIT")
	private Integer timeLimit;
	
	/** 借入期限单位 */
	@Column(name = "TIME_LIMIT_UNIT")
	private String timeLimitUnit;
	
	/** 融资批次 */
	@Column(name = "FINANCING_BATCH")
	private String financingBatch;
	
	/** 财务批次 */
	@Column(name = "FINANCIAL_BATCH")
	private String financialBatch;
	
	/** 利率 */
	@Column(name = "INTEREST_RATE")
	private BigDecimal interestRate;
	
	/** 手续费 */
	@Column(name = "POUNDAGE")
	private BigDecimal poundage;
	
	/** 佣金 */
	@Column(name = "COMMISSION")
	private BigDecimal commission;
	
	/** 支付方式 */
	@Column(name = "PAYMENT")
	private BeneficiaryMethodEnum payment;
	
	/** 渠道 */
	@Column(name = "CHANNEL")
	private FinancingChannelEnum channel;
	
	/** 确认状态   */
	@Column(name = "CONFIRM_STATE")
	private Boolean confirmState;

	/** 创建时间*/
	@Column(name = "CREATE_DT")
	private Date createDateTime;
	
	/** 更新时间*/
	@Column(name = "UPDATE_DT")
	private Date updateDateTime;
	
	/** 附件信息 */
	@Column(name = "FILE_UUIDS")
	private String fileUuids;

	public Date getEffectiveDate() {
		return effectiveDate;
	}

	public void setEffectiveDate(Date effectiveDate) {
		this.effectiveDate = effectiveDate;
	}

	public Boolean getConfirmState() {
		return confirmState;
	}

	public void setConfirmState(Boolean confirmState) {
		this.confirmState = confirmState;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Long getLoansMoneyId() {
		return loansMoneyId;
	}

	public void setLoansMoneyId(Long loansMoneyId) {
		this.loansMoneyId = loansMoneyId;
	}

	public Long getLendUnitId() {
		return lendUnitId;
	}

	public void setLendUnitId(Long lendUnitId) {
		this.lendUnitId = lendUnitId;
	}
	
	public Long getAccountInfoId() {
		return accountInfoId;
	}

	public void setAccountInfoId(Long accountInfoId) {
		this.accountInfoId = accountInfoId;
	}

	public Date getBorrowedDateCount() {
		return borrowedDateCount;
	}

	public void setBorrowedDateCount(Date borrowedDateCount) {
		this.borrowedDateCount = borrowedDateCount;
	}

	public Date getBorrowedDate() {
		return borrowedDate;
	}

	public void setBorrowedDate(Date borrowedDate) {
		this.borrowedDate = borrowedDate;
	}

	public Integer getTimeLimit() {
		return timeLimit;
	}

	public void setTimeLimit(Integer timeLimit) {
		this.timeLimit = timeLimit;
	}

	public String getTimeLimitUnit() {
		return timeLimitUnit;
	}

	public void setTimeLimitUnit(String timeLimitUnit) {
		this.timeLimitUnit = timeLimitUnit;
	}

	public String getFinancingBatch() {
		return financingBatch;
	}

	public void setFinancingBatch(String financingBatch) {
		this.financingBatch = financingBatch;
	}

	public String getFinancialBatch() {
		return financialBatch;
	}

	public void setFinancialBatch(String financialBatch) {
		this.financialBatch = financialBatch;
	}

	public BigDecimal getInterestRate() {
		return interestRate;
	}

	public void setInterestRate(BigDecimal interestRate) {
		this.interestRate = interestRate;
	}

	public BigDecimal getPoundage() {
		return poundage;
	}

	public void setPoundage(BigDecimal poundage) {
		this.poundage = poundage;
	}

	public BigDecimal getCommission() {
		return commission;
	}

	public void setCommission(BigDecimal commission) {
		this.commission = commission;
	}

	public BeneficiaryMethodEnum getPayment() {
		return payment;
	}

	public void setPayment(BeneficiaryMethodEnum payment) {
		this.payment = payment;
	}

	public FinancingChannelEnum getChannel() {
		return channel;
	}

	public void setChannel(FinancingChannelEnum channel) {
		this.channel = channel;
	}

	public Date getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}

	public Date getUpdateDateTime() {
		return updateDateTime;
	}

	public void setUpdateDateTime(Date updateDateTime) {
		this.updateDateTime = updateDateTime;
	}

	public String getFileUuids() {
		return fileUuids;
	}

	public void setFileUuids(String fileUuids) {
		this.fileUuids = fileUuids;
	}
}
